body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    background-color: #f0f2f5;
}
/* 需求广场网格布局 */
.demand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
    padding: 20px;
    flex: 1;
}

/* 需求方块样式 */
.demand-square {
    position: relative;
    aspect-ratio: 1/1;
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    cursor: pointer;
}

.demand-square:hover {
    transform: translateY(-4px);
}

.demand-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

/* 预览按钮 */
.preview-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    padding: 6px 12px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.preview-btn:hover {
    background: #1890ff;
    color: white;
    border-color: #1890ff;
}

/* 需求详情页 */
.demand-detail .top-section {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    min-height: 400px;
}





/* 按钮容器样式 */
.button-group {
    margin-top: 20px;
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    padding: 0 20px;
}

/* 提交按钮样式 */
.submit-btn {
    padding: 12px 24px;
    background: #1890ff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: #40a9ff;
    box-shadow: 0 4px 12px rgba(24,144,255,0.4);
}

/* 调整返回按钮样式 */
.return-btn {
    padding: 12px 24px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    margin: 0; /* 移除原有margin */
}
.return-btn:hover {
    background: #1890ff;
    color: white;
    border-color: #1890ff;
}

/* 文本输入区域调整 */
.bottom-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.input-demand {
    min-height: 100px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    resize: vertical;
}